{include file="public/header" /}
{css href="__ROOT__/static/public/umeditor/themes/default/css/umeditor.css" /}
{js href="__ROOT__/static/public/umeditor/third-party/template.min.js" /}
{js href="__ROOT__/static/public/umeditor/umeditor.config.js" /}
{js href="__ROOT__/static/public/umeditor/umeditor.min.js" /}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <form method="post" class="form-x" action="__URL__/flag_edit.html?id={$data.id}" enctype="multipart/form-data">
    <tbody>
      <tr>
        <td height="50" colspan="2" style="font-size: 13px; color: red; padding-top: 16px">　推荐图片展示在用户端首页，竖形图片</td>
      </tr>
      <tr>
        <td width="150" rowspan="3">
          　 　<img src="{$data.image}" alt="" style="max-width:90px;max-height: 150px; margin-left:15px; margin-top: -30px; margin-right: 15px; float:left"></td>
        <td height="65" colspan="1">
          <input type="file" name="image" style="width: 180px; margin-top:30px;" {if !$data.image}required{/if} />
        </td>
      </tr>
      <tr>
        <td height="35"><input type="text" name="name" value="{$data.name}" /></td>
      </tr>
      <tr>
        <td height="50" colspan="1"><input type="submit" class="button border-blue editcat" style="padding: 3px 8px;"/></td>
      </tr>
    </tbody>
  </form>
</table>
